Asset
data class Asset(val id: String, val context: AssetContext?, val label: String? = null, val locale: String? = null, val tags: List<String>? = null, val groups: List<String>? = null, val active: Boolean = false, val meta: Map<String, String>? = null, val payload: AssetPayload = AssetPayload(), val credits: AssetCredits? = null, val license: AssetLicense? = null, val utm: AssetUTM? = null)
Single asset result of a findAssets query.
Constructors
Link copied to clipboard
constructor(id: String, context: AssetContext?, label: String? = null, locale: String? = null, tags: List<String>? = null, groups: List<String>? = null, active: Boolean = false, meta: Map<String, String>? = null, payload: AssetPayload = AssetPayload(), credits: AssetCredits? = null, license: AssetLicense? = null, utm: AssetUTM? = null)
Properties
Link copied to clipboard
Context on how an asset was added and shall be used.
Link copied to clipboard
Credits for the creator of the asset.
Link copied to clipboard
License for the asset. Overrides the asset source license if present.
Link copied to clipboard
Structured information about the contained asset.